﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using middleware.utiles;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace middleware.dominio
{
    [Table("BandejasEntrada")]
    public class BandejaEntrada
    {        
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int BandejaID { get; set; }        
        public string nombre { get; set; }
        public string configuracion { get; set; }
        public ITipoBandejaEntrada tipoBandeja { get; set; }
        public string nombreTipoBandeja { get; set; }

        override
        public string ToString()
        {
            return nombre;
        }
    }
}
